package pso.velocity;

public abstract class AbstractInertiaWeightVelocityUpdateStrategy extends
		AbstractVelocityUpdateStrategy {

	@Override
	public double calculateNewVelocity(double currentVelocity,
			double cognitivePart, double socialPart) {
		return getInertiaWeight() * currentVelocity + cognitivePart
				+ socialPart;
	}

	public abstract double getInertiaWeight();
}
